# Maintainer: Chih-Hsuan Yen <yan12125@archlinux.org>
# Contributor: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
# Contributor: Firmicus <francois.archlinux.org> 

pkgname=ttf-arphic-uming
pkgver=0.2.20080216.2
pkgrel=2
pkgdesc='CJK Unicode font Ming style'
url='https://www.freedesktop.org/wiki/Software/CJKUnifonts'
license=('custom:Arphic_Public_License')
arch=('any')
source=("https://deb.debian.org/debian/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_$pkgver.orig.tar.bz2")
sha512sums=('c60dfaed26b59f437cd77d3ce841b0647fe4de96d9d512c6e400e1a409c1bbc9186f51acf7437cf7367856a5f32490834886e88f0d9191be4cbcfb2253ffa51c')

package() {
  cd $pkgname-$pkgver
  install -Dm644 uming.ttc "${pkgdir}"/usr/share/fonts/TTF/uming.ttc
  install -Dm644 license/english/ARPHICPL.TXT "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
